package reflect;

import java.lang.reflect.Array;
import java.util.Arrays;

public class ArgsDemo {
    public static void main(String[] args) {
        doSome("asd","dsa","wer");
        doSome("asd","dsa","wer","asd","dsa","wer");
        doSome("qwe","noi");
        
    }

    public static void doSome(String... arg){
        System.out.println(arg.length);
        System.out.println(Arrays.toString(arg));
    }
}
